2016-08-24 22:05:35 +02:00
|
|
|
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-11-08 13:07:38 +01:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2016-08-24 22:05:35 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
2016-08-24 22:05:35 +02:00
|
|
|
tools:context="com.github.dfa.diaspora_android.activity.AboutActivity$LicenseFragment">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-11-08 13:07:38 +01:00
|
|
|
<!-- Maintainers -->
|
|
|
|
<android.support.v7.widget.CardView
|
2016-08-25 00:23:20 +02:00
|
|
|
android:layout_width="match_parent"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
card_view:cardElevation="5dp"
|
|
|
|
card_view:cardCornerRadius="5dp">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__maintainers"/>
|
|
|
|
|
|
|
|
<com.github.dfa.diaspora_android.ui.HtmlTextView
|
|
|
|
android:id="@+id/fragment_license__maintainers_text"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__maintainers_text"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
2016-10-14 01:26:56 +02:00
|
|
|
|
2016-11-08 13:07:38 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<!-- Contributors -->
|
|
|
|
<android.support.v7.widget.CardView
|
2016-08-26 17:08:57 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
card_view:cardElevation="5dp"
|
|
|
|
card_view:cardCornerRadius="5dp">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__contributors"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
2016-08-25 00:23:20 +02:00
|
|
|
|
2016-11-08 13:07:38 +01:00
|
|
|
<com.github.dfa.diaspora_android.ui.HtmlTextView
|
|
|
|
android:id="@+id/fragment_license__contributors_text"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="8dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<!-- License -->
|
|
|
|
<android.support.v7.widget.CardView
|
2016-10-14 01:26:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
card_view:cardElevation="5dp"
|
|
|
|
card_view:cardCornerRadius="5dp">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__license"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__license_text"/>
|
2016-08-26 17:08:57 +02:00
|
|
|
|
2016-11-08 13:07:38 +01:00
|
|
|
<Button
|
|
|
|
android:id="@+id/fragment_license__license_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:text="@string/fragment_license__license_button"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<!-- Third Party Libraries -->
|
|
|
|
<android.support.v7.widget.CardView
|
2016-08-26 17:08:57 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
card_view:cardElevation="5dp"
|
|
|
|
card_view:cardCornerRadius="5dp">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__thirdparty_libs"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__thirdparty_libs_text"/>
|
2016-08-26 17:08:57 +02:00
|
|
|
|
2016-11-08 13:07:38 +01:00
|
|
|
<com.github.dfa.diaspora_android.ui.HtmlTextView
|
|
|
|
android:id="@+id/fragment_license__thirdparty_libs_text"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
<!-- Miscellaneous -->
|
|
|
|
<android.support.v7.widget.CardView
|
2016-10-14 01:26:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-11-08 13:07:38 +01:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
style="?android:attr/buttonBarStyle"
|
|
|
|
card_view:cardElevation="5dp"
|
|
|
|
card_view:cardCornerRadius="5dp">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin_half"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin_half">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@android:style/TextAppearance.DeviceDefault.Large"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__misc"
|
|
|
|
android:layout_marginBottom="8dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/fragment_license__misc_leafpic"/>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/fragment_license__leafpic_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:text="@string/fragment_license__misc_leafpic_button"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
|
2016-08-24 22:05:35 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|