Как добавить строку заголовка в ScrollView? - PullRequest
0 голосов
/ 26 мая 2018

Я хочу добавить строку заголовка в окне прокрутки.
Но я не могу этого сделать.

Мой макет

     <?xml version="1.0" encoding="utf-8"?>

       <ScrollView 
      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="@color/colorAccent"
  tools:context="com.example.nazir.alrehman.FullRead">

    <LinearLayout

    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">
    <LinearLayout
        android:layout_width="match_parent"
        android:orientation="horizontal"
        android:layout_height="wrap_content">
    <TextView

        android:paddingTop="50dp"
        android:paddingBottom="50dp"
        android:id="@+id/a1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:text="الرَّحۡمٰنُۙ‏ ﴿۱﴾"
        android:background="@color/colorAccent"
        android:textSize="50sp" />
       </ScrollView>
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...