Skip to content

Commit a5dd841

Browse files
committed
mentors UI updates
1 parent 6531a35 commit a5dd841

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

android/src/main/res/layout/mentor_list_item.xml

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,32 @@
1212
android:layout_height="wrap_content"
1313
android:orientation="vertical">
1414

15-
<com.hackthenorth.android.ui.component.TextView
16-
android:id="@+id/mentor_name"
15+
<RelativeLayout
1716
android:layout_width="match_parent"
1817
android:layout_height="wrap_content"
19-
android:layout_margin="16dp"
20-
android:textColor="@color/theme_secondary"
21-
android:textSize="32sp"
22-
app:typeface="roboto_thin"
23-
tools:text="Barack Obama" />
24-
25-
<com.android.volley.toolbox.NetworkImageView
26-
android:id="@+id/mentor_image"
27-
android:layout_width="wrap_content"
28-
android:layout_height="172dp"
29-
android:layout_marginBottom="16dp"
30-
android:scaleType="centerCrop" />
18+
android:layout_marginBottom="16dp" >
19+
20+
<com.android.volley.toolbox.NetworkImageView
21+
android:id="@+id/mentor_image"
22+
android:layout_width="match_parent"
23+
android:layout_height="172dp"
24+
android:scaleType="centerCrop" />
25+
26+
<com.hackthenorth.android.ui.component.TextView
27+
android:id="@+id/mentor_name"
28+
android:layout_width="match_parent"
29+
android:layout_height="wrap_content"
30+
android:layout_alignParentBottom="true"
31+
android:textColor="@color/text_color_primary_inverse"
32+
android:textSize="24sp"
33+
android:background="#4000"
34+
android:paddingLeft="16dp"
35+
android:paddingRight="16dp"
36+
android:paddingBottom="8dp"
37+
android:paddingTop="8dp"
38+
app:typeface="roboto_regular"
39+
tools:text="Barack Obama" />
40+
</RelativeLayout>
3141

3242
<LinearLayout
3343
android:layout_width="wrap_content"

android/src/main/res/layout/mentors_fragment.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
android:layout_height="match_parent"
2626
android:background="@android:color/white"
2727
android:clipToPadding="false"
28-
android:divider="#eee"
29-
android:dividerHeight="1dp"
28+
android:divider="@null"
29+
android:dividerHeight="0dp"
3030
android:fitsSystemWindows="true"
3131
android:scrollbarStyle="outsideOverlay"
3232
android:visibility="gone" />

0 commit comments

Comments
 (0)