BobStore/F-Droid/res/layout/repodetails.xml

114 lines
4.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
2015-09-24 14:24:27 +03:00
android:id="@+id/repoView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
android:paddingRight="?attr/listPreferredItemPaddingRight"
android:orientation="vertical">
<!-- URL of this repo -->
2015-09-24 14:10:41 +03:00
<TextView
android:layout_width="match_parent"
2015-09-24 14:10:41 +03:00
android:layout_height="wrap_content"
android:text="@string/repo_url"
style="@style/RepoDetailsCaption"/>
<TextView
2015-09-24 14:10:41 +03:00
android:id="@+id/input_repo_url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<!-- Name of this repo -->
<TextView
android:id="@+id/label_repo_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_name"
style="@style/RepoDetailsCaption"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_repo_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<!-- Description - as pulled from the index file during last update... -->
<TextView
android:id="@+id/label_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_description"
style="@style/RepoDetailsCaption"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<!-- Number of apps belonging to this repo -->
<TextView
android:id="@+id/label_num_apps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_num_apps"
style="@style/RepoDetailsCaption"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_num_apps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<!-- The last time this repo was updated -->
<TextView
android:id="@+id/label_last_update"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_last_update"
style="@style/RepoDetailsCaption"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_last_update"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<!-- Signature (or "unsigned" if none) -->
<TextView
android:id="@+id/label_repo_fingerprint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_fingerprint"
style="@style/RepoDetailsCaption"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_repo_fingerprint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:typeface="monospace"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_repo_fingerprint_description"
android:layout_width="match_parent"
2015-09-24 14:10:41 +03:00
android:layout_height="wrap_content"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<TextView
android:id="@+id/text_not_yet_updated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-24 14:10:41 +03:00
android:text="@string/repo_not_yet_updated"
style="@style/RepoDetailsBody"/>
2015-09-24 14:10:41 +03:00
<ImageView
android:id="@+id/qr_code"
android:src="@drawable/swap_qr_example"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"/>
2015-09-24 14:24:27 +03:00
</LinearLayout>
2015-09-24 14:24:27 +03:00
</ScrollView>