Fix color and design in help activity

This commit is contained in:
Dominik Schürmann 2015-08-03 13:24:04 +02:00
parent 2687e533a6
commit 7474268ead
2 changed files with 10 additions and 15 deletions

View file

@ -78,7 +78,6 @@ public class HelpMarkdownFragment extends Fragment {
Log.e(Constants.TAG, "IOException", e);
}
text.setBackgroundColor(getResources().getColor(android.R.color.white));
// no flickering when clicking textview for Android < 4
text.setTextColor(getResources().getColor(android.R.color.black));

View file

@ -2,10 +2,10 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="0dp"
android:paddingBottom="0dp">
android:paddingTop="0dp">
<LinearLayout
android:layout_width="match_parent"
@ -15,17 +15,17 @@
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:scrollbars="vertical" >
android:scrollbars="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
android:orientation="horizontal">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical" >
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
@ -38,7 +38,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
@ -55,16 +55,12 @@
</LinearLayout>
</LinearLayout>
<org.sufficientlysecure.htmltextview.HtmlTextView
<org.sufficientlysecure.htmltextview.HtmlTextView
android:id="@+id/help_about_text"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:background="@android:color/white"
android:layout_marginBottom="8dp"
android:layout_marginTop="16dp"
android:textAppearance="@android:style/TextAppearance.Small" />
</LinearLayout>