Skip to content

Commit

Permalink
Add Team Informations for About Page
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanWidjanarko committed Dec 16, 2021
1 parent f2d80a6 commit 8e844ae
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 3 deletions.
Binary file added app/src/main/res/drawable/aad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/elloy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/hanif.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ivan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/syarif.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
117 changes: 114 additions & 3 deletions app/src/main/res/layout/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:gravity="center_horizontal"
android:orientation="vertical"
android:background="@color/bgc">

Expand All @@ -24,6 +24,7 @@
android:textSize="36sp"
android:textStyle="bold"
android:textColor="@color/purple"
android:layout_margin="25dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
Expand All @@ -36,14 +37,124 @@
android:layout_height="wrap_content"
android:text="@string/about_text"
android:textSize="14sp"
android:padding="30dp"
android:padding="20dp"
android:justificationMode="inter_word"
android:textColor="@color/purple"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
/>
tools:targetApi="o" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">

<HorizontalScrollView
android:id="@+id/hsv"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:fillViewport="true"
android:measureAllChildren="false"
android:scrollbars="none"
tools:ignore="UselessParent">
<LinearLayout
android:id="@+id/innerLay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="10dp">
<LinearLayout
android:id="@+id/asthma_action_plan"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ivan"
android:contentDescription="@string/member_1" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/controlled_medication"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/hanif"
android:contentDescription="@string/member_2" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/as_needed_medication"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/syarif"
android:contentDescription="@string/member_3" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/rescue_medication"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/aad"
android:contentDescription="@string/member_4" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/your_symptoms"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="10dp" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent" >
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/elloy"
android:contentDescription="@string/member_5" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</HorizontalScrollView>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@
Please kindly try again.
</string>
<string name="try_again">Try Again</string>
<string name="member_1">Member 1 : Ivan Widjanarko</string>
<string name="member_2">Member 2 : Haidar Hanif</string>
<string name="member_3">Member 3 : Syarif Hidayat</string>
<string name="member_4">Member 4 : M. As\'ad Muyassir</string>
<string name="member_5">Member 5 : Jonathan Elloy S.</string>
</resources>

0 comments on commit 8e844ae

Please sign in to comment.