mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-26 16:37:58 +01:00
Made About text scrollable, fixed title
This commit is contained in:
parent
baa0c92c7a
commit
b7d1e4acf6
@ -56,7 +56,7 @@ class AboutFragment : Fragment() {
|
|||||||
versionName
|
versionName
|
||||||
)
|
)
|
||||||
|
|
||||||
setTitle(this@AboutFragment, title)
|
setTitle(this@AboutFragment, getString(R.string.menu_about))
|
||||||
titleText?.text = title
|
titleText?.text = title
|
||||||
|
|
||||||
webPageButton?.setOnClickListener {
|
webPageButton?.setOnClickListener {
|
||||||
|
@ -3,6 +3,20 @@
|
|||||||
a:layout_width="fill_parent"
|
a:layout_width="fill_parent"
|
||||||
a:layout_height="fill_parent">
|
a:layout_height="fill_parent">
|
||||||
|
|
||||||
|
<ScrollView
|
||||||
|
a:id="@+id/SCROLLER_ID"
|
||||||
|
a:layout_width="fill_parent"
|
||||||
|
a:layout_height="wrap_content"
|
||||||
|
a:layout_above="@+id/help_webpage"
|
||||||
|
a:layout_alignParentTop="true"
|
||||||
|
a:fillViewport="true"
|
||||||
|
a:layout_marginBottom="10dp"
|
||||||
|
a:scrollbars="vertical">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
a:layout_width="wrap_content"
|
||||||
|
a:layout_height="wrap_content">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
a:id="@+id/help_title"
|
a:id="@+id/help_title"
|
||||||
a:layout_width="match_parent"
|
a:layout_width="match_parent"
|
||||||
@ -16,12 +30,16 @@
|
|||||||
a:id="@+id/help_text"
|
a:id="@+id/help_text"
|
||||||
a:layout_width="match_parent"
|
a:layout_width="match_parent"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
a:layout_below="@+id/help_title"
|
a:layout_below="@id/help_title"
|
||||||
a:layout_marginTop="0dp"
|
a:layout_marginTop="0dp"
|
||||||
a:padding="20dp"
|
a:padding="20dp"
|
||||||
a:textSize="16sp"
|
|
||||||
a:text="@string/about.text"
|
a:text="@string/about.text"
|
||||||
/>
|
a:textSize="16sp" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
a:id="@+id/help_webpage"
|
a:id="@+id/help_webpage"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user