0
こんにちは人々私は自分のアプリケーションのカスタムタイトルバーを作った。私はこれがタイトルバーのためだけに多くのコードではないかどうかを知りたいと思います。私が尋ねる理由は、私がグループ活動のようにしたいのですが、私はそれを試して、私はそれを好きではなかったので、私はタブホストが好きではありません。私は代わりに、タブホストのタイトルバーを好き複数のアクティビティにリンクされたカスタムタイトルバー
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/pt5"
android:orientation="vertical" >
<FrameLayout
android:id="@+id/frameLayout1"
android:layout_width="match_parent"
android:layout_height="50dp" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent" android:background="@drawable/tilte2">
<Button
android:id="@+id/button1"
android:layout_width="108dp"
android:layout_height="fill_parent"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:background="@null" android:drawableBottom="@drawable/info_btn"/>
<Button
android:id="@+id/button3"
android:layout_width="105dp"
android:layout_height="fill_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:background="@null" android:drawableBottom="@drawable/car_key"/>
<Button
android:id="@+id/button2"
android:layout_width="105dp"
android:layout_height="fill_parent"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/button3"
android:background="@null" />
</RelativeLayout>
</FrameLayout>
は
私は何をしましたか?私はこのラジオのグループの外観が好きですdharmendraありがとう – Ravon
あなたはようこそ:) – Dharmendra