1
は、この下の画像は私がカスタムダイアログレイアウトとして、私の問題はこれであることを設計したいです:私は、ダイアログアイコンとして、レイアウトの上に円形ImageViewのを置くことができないAndroidのデザインiconableカスタムダイアログのレイアウト
マイレイアウトxmlファイル:
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_gravity="center">
<ir.pishguy.signalpresentationproject.Widgets.CircularRevealView
android:id="@+id/reveal"
android:layout_width="match_parent"
android:layout_height="350dp"
android:layout_gravity="center"/>
<FrameLayout
android:id="@+id/frame"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView
android:layout_width="55dp"
android:layout_height="55dp"
android:src="@drawable/ic_messages"
app:civ_border_color="#ffffff"
app:civ_border_width="5dp"
android:layout_marginTop="-35dp"
android:id="@+id/store_avatar"
android:layout_gravity="top"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="New Text"/>
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="New Text"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
</FrameLayout>
</FrameLayout>
マイレイアウトのスクリーンショット:
スクリーンショットを共有することができます –
タイトルを付けずに透明な背景とダイアログボックス全体を含むレイアウトであるカスタムビューを表示することをお勧めします。 – Vektor88