Scroll on contact view
This commit is contained in:
parent
a836e839b3
commit
bfcb406f84
1 changed files with 46 additions and 46 deletions
|
@ -42,61 +42,61 @@
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent">
|
||||||
android:paddingTop="20dp"
|
|
||||||
android:gravity="center"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<RelativeLayout
|
<LinearLayout
|
||||||
android:id="@+id/avatar_layout"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center">
|
android:paddingTop="20dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<RelativeLayout
|
||||||
android:id="@+id/contact_picture"
|
android:id="@+id/avatar_layout"
|
||||||
android:src="@drawable/avatar"
|
android:layout_width="match_parent"
|
||||||
android:contentDescription="@string/content_description_contact_picture"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="100dp"
|
android:gravity="center">
|
||||||
android:layout_height="100dp"
|
|
||||||
android:adjustViewBounds="true"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_marginLeft="5dp"/>
|
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/mask"
|
android:id="@+id/contact_picture"
|
||||||
android:src="@drawable/avatar_mask"
|
android:src="@drawable/avatar"
|
||||||
android:contentDescription="@string/content_description_contact_picture"
|
android:contentDescription="@string/content_description_contact_picture"
|
||||||
android:layout_width="100dp"
|
android:layout_width="100dp"
|
||||||
android:layout_height="100dp"
|
android:layout_height="100dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:layout_alignParentLeft="true"
|
android:layout_alignParentLeft="true"
|
||||||
android:layout_marginLeft="5dp"/>
|
android:layout_marginLeft="5dp"/>
|
||||||
|
|
||||||
</RelativeLayout>
|
<ImageView
|
||||||
|
android:id="@+id/mask"
|
||||||
|
android:src="@drawable/avatar_mask"
|
||||||
|
android:contentDescription="@string/content_description_contact_picture"
|
||||||
|
android:layout_width="100dp"
|
||||||
|
android:layout_height="100dp"
|
||||||
|
android:adjustViewBounds="true"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:layout_marginLeft="5dp"/>
|
||||||
|
|
||||||
<TextView
|
</RelativeLayout>
|
||||||
android:id="@+id/contact_name"
|
|
||||||
style="@style/font5"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
<TextView
|
||||||
|
android:id="@+id/contact_name"
|
||||||
<ScrollView
|
style="@style/font5"
|
||||||
android:layout_width="match_parent"
|
android:singleLine="true"
|
||||||
android:layout_height="match_parent">
|
android:layout_gravity="center"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
<TableLayout
|
android:layout_height="wrap_content"/>
|
||||||
android:id="@+id/controls"
|
|
||||||
android:layout_width="match_parent"
|
<TableLayout
|
||||||
android:layout_height="wrap_content"
|
android:id="@+id/controls"
|
||||||
android:stretchColumns="*"
|
android:layout_width="match_parent"
|
||||||
android:paddingTop="20dp"/>
|
android:layout_height="wrap_content"
|
||||||
|
android:stretchColumns="*"
|
||||||
|
android:paddingTop="20dp"/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue