2 つの異なる色とテキストを使用して、線形レイアウトで 2 つの textview を使用できると思います。onClicklistener()
次に、2 つのテキスト ビューを実装できます。あなたはあなたが望むものを達成し、それはあなたが期待しているものと同じように見えます.
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
<TextView
android:id="@+id/text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/settings"
android:layout_marginTop = "10dip"
android:padding="3dip"
android:text="@string/txt1"
android:textColor="#000000"
android:textSize="25sp"
android:textStyle="bold" />
<TextView
android:id="@+id/text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_below="@+id/settings"
android:layout_marginTop = "10dip"
android:padding="3dip"
android:text="@string/txt2"
android:textColor="#1569C7"
android:textSize="25sp"
android:textStyle="bold" />
</LinearLayout>
それが役に立てば幸い