mirror of https://github.com/BOINC/boinc.git
Android: Try a more friendly layout for displaying messages on small screens
This commit is contained in:
parent
5fbf1ded99
commit
3a4bf72610
|
@ -21,27 +21,32 @@
|
|||
android:id="@+id/msgsRow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/msgs_project"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:text="Project" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/msgs_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:text="Date" />
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/msgs_message"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp"
|
||||
android:text="Message" />
|
||||
android:layout_margin="2dp" />
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/msgsRowHorizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/msgs_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp" />
|
||||
|
||||
<TextView android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:id="@+id/msgs_project"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="2dp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
Loading…
Reference in New Issue