Browse Source

Code rearrange, moved card_view backgroundColor to theme

Work on topic rows
pull/24/head
Apostolos Fanakis 8 years ago
parent
commit
c9f562df2f
  1. 50
      app/src/main/res/layout/activity_about.xml

50
app/src/main/res/layout/activity_about.xml

@ -1,48 +1,46 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollview" android:id="@+id/scrollview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingBottom="@dimen/activity_vertical_margin" android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.eternalpixels.toinfinity.Info"> tools:context="com.eternalpixels.toinfinity.Info">
<TextView android:id="@+id/appName" <TextView
android:text="@string/app_name" android:id="@+id/appName"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:textStyle="bold" /> android:text="@string/app_name"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"/>
<TextView <TextView
android:id="@+id/version"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:id="@+id/version"
android:layout_below="@+id/appName" android:layout_below="@+id/appName"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:textStyle="italic" /> android:textAppearance="?android:attr/textAppearanceSmall"
android:textStyle="italic"/>
<ImageView <ImageView
android:contentDescription="@string/logo" android:id="@+id/logoView"
android:layout_margin="15dp"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/logoView"
android:src="@mipmap/ic_launcher"
android:layout_below="@id/version" android:layout_below="@id/version"
android:layout_centerHorizontal="true" /> android:layout_centerHorizontal="true"
android:layout_margin="15dp"
android:contentDescription="@string/logo"
android:src="@mipmap/ic_launcher"/>
</RelativeLayout> </RelativeLayout>
</ScrollView> </ScrollView>
Loading…
Cancel
Save