Files
old-QuranTranslationDisplay/res/layout/activity_show_ayah.xml
2014-01-19 07:23:19 +01:00

51 lines
1.6 KiB
XML

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#f6ed51"
tools:context=".ShowAyah"
android:paddingLeft="150dp"
android:paddingTop="20dp"
android:paddingBottom="20dp"
android:paddingRight="150dp"
>
<!--
The primary full-screen view. This can be replaced with whatever view
is needed to present your content, e.g. VideoView, SurfaceView,
TextureView, etc.
-->
<TextView
android:id="@+id/chapter_name_verse_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:keepScreenOn="true"
android:text="@string/chapter_name_verse_number"
android:textColor="#000000"
android:textSize="50sp"
android:textStyle="bold"
/>
<com.mhalka.qurantranslationdisplay.VerticalMarqueeTextView android:paddingTop="20dp"
android:id="@+id/ayah"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:keepScreenOn="true"
android:layout_centerVertical="true"
android:text="@string/verse"
android:textColor="#000000"
android:textSize="50sp"
android:textStyle="bold"
android:layout_gravity="center"
android:maxLines="10"
android:scrollHorizontally="false"
/>
</RelativeLayout>