Merged in PhotonQyv/mastodon_etalab/ActivityAbout_LayoutTweak (pull request #101)
Altered the layout slightly to balance up the developer & contributor sections on larger screens.
This commit is contained in:
commit
74e1fd4640
|
@ -16,9 +16,9 @@
|
||||||
see <http://www.gnu.org/licenses>.
|
see <http://www.gnu.org/licenses>.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
>
|
>
|
||||||
<!-- About app name -->
|
<!-- About app name -->
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -41,41 +41,48 @@
|
||||||
|
|
||||||
<!-- About developer -->
|
<!-- About developer -->
|
||||||
<TextView
|
<TextView
|
||||||
android:padding="5dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical|center_horizontal"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:textColor="@color/mastodonC4"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
|
android:padding="5dp"
|
||||||
android:text="@string/about_developer"
|
android:text="@string/about_developer"
|
||||||
|
android:textColor="@color/mastodonC4"
|
||||||
android:textSize="16sp"/>
|
android:textSize="16sp"/>
|
||||||
|
|
||||||
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
||||||
android:id="@+id/lv_developers"
|
android:id="@+id/lv_developers"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:scrollbars="none"
|
android:layout_gravity="center_vertical|center_horizontal"
|
||||||
android:divider="@null"/>
|
android:layout_marginLeft="150dp"
|
||||||
|
android:layout_marginRight="150dp"
|
||||||
|
android:divider="@null"
|
||||||
|
android:scrollbars="none"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:padding="5dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:id="@+id/about_thanks_dev"
|
android:id="@+id/about_thanks_dev"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:textColor="@color/mastodonC4"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical|center_horizontal"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:textSize="16sp"
|
android:padding="5dp"
|
||||||
android:text="@string/thanks_text_dev"/>
|
android:text="@string/thanks_text_dev"
|
||||||
|
android:textColor="@color/mastodonC4"
|
||||||
|
android:textSize="16sp"/>
|
||||||
|
|
||||||
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
<fr.gouv.etalab.mastodon.helper.ExpandableHeightListView
|
||||||
android:id="@+id/lv_contributors"
|
android:id="@+id/lv_contributors"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:scrollbars="none"
|
android:layout_gravity="center_vertical|center_horizontal"
|
||||||
android:divider="@null"/>
|
android:layout_marginLeft="150dp"
|
||||||
|
android:layout_marginRight="150dp"
|
||||||
|
android:divider="@null"
|
||||||
|
android:scrollbars="none"/>
|
||||||
|
|
||||||
<!-- About license -->
|
<!-- About license -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
Loading…
Reference in New Issue