记账本7
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="10dp" android:background="@color/white"> <TextView android:id="@+id/dialog_budget_tv1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/set_budget" android:layout_centerHorizontal="true" android:textSize="18sp" android:textStyle="bold" android:textColor="@color/black"/> <ImageView android:id="@+id/dialog_budget_iv_error" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@mipmap/ih_error" android:layout_alignParentRight="true"/> <TextView android:id="@+id/dialog_budget_tv2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="¥" android:layout_below="@id/dialog_budget_tv1" android:textSize="20sp" android:layout_marginTop="10dp"/> <EditText android:id="@+id/dialog_budget_et" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_toRightOf="@id/dialog_budget_tv2" android:layout_alignBaseline="@id/dialog_budget_tv2" android:inputType="numberDecimal" android:background="@color/white"> <requestFocus/> </EditText> <Button android:id="@+id/dialog_budget_btn_ensure" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/dialog_budget_tv2" android:layout_marginTop="20dp" android:text="@string/ensure" android:textStyle="bold" android:textSize="18sp" android:background="@drawable/main_recordbtn_bg" android:textColor="@color/white"/> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/white"> <HorizontalScrollView android:layout_width="wrap_content" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/dialog_calendar_layout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> </LinearLayout> </HorizontalScrollView> <GridView android:id="@+id/dialog_calendar_gv" android:layout_width="match_parent" android:layout_height="match_parent" android:numColumns="4"/> <ImageView android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/dialog_calendar_iv" android:src="@mipmap/ih_error" android:padding="20dp"/> </LinearLayout>
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="20dp" android:background="@color/grey_f3f3f3"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <Button android:id="@+id/dialog_more_btn_about" style="@style/dialogmoreStyle" android:drawableTop="@mipmap/it_guanyu" android:text="@string/about"/> <Button android:id="@+id/dialog_more_btn_setting" style="@style/dialogmoreStyle" android:drawableTop="@mipmap/it_shezhi" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:text="@string/setting"/> <Button android:id="@+id/dialog_more_btn_record" style="@style/dialogmoreStyle" android:drawableTop="@mipmap/it_jilu" android:text="@string/history_record"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="20dp" android:weightSum="3"> <Button android:id="@+id/dialog_more_btn_info" style="@style/dialogmoreStyle" android:drawableTop="@mipmap/it_xiqing" android:text="@string/account_info" android:layout_marginRight="30dp"/> </LinearLayout> <ImageView android:id="@+id/dialog_more_iv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@mipmap/ih_error" android:layout_gravity="center_horizontal" android:layout_marginTop="10dp"/> </LinearLayout>