870S BÁC AH AH CÁI HÌNH MẪU BÁC LÀM KIỂU NHƯ THẾ NÀY CHO EM NHA HÌNH BÁC CẮT TRÒN CHO VÀO KHUNG CHỮ NHẬT MÀU TRẮNG NHÉ BÁC THANK BÁC NHÌU
phần trên thừa nhiều quá bác! Icon hơi xa. Bác nên cho to cái app thumbail lên đẩy nó cân vào giữa mới đẹp
Lại hóng bác xem cho nó to kiểu gì ạ. Cho to lên thì cái bóng nó có còn nguyên không hay là nóvlại bị khuyết ngang cái bóng ạ. Trước em thử chỉnh mà cái bóng của nó như kiểu bị 1 đường thẳng cắt ngang mất@@. Như kiểu này này ạ. Bóng của nó bị khuyết
Em k rõ. Lúc nó thế lúc nó lại không. Em có bao giờ dùng ngang đâu nên kệ nó. Bác dạy em chỉnh to cái thumbail mà bóng nó không bị cắt như trên đi
đây bác. kích thước có thể chưa chuẩn đâu cần phải chỉnh lại. copy cẩn thận cái frame nhé ko treo máy đấy https://drive.google.com/file/d/0B4KQoejkB8uIa0pTZnlJZHg1dFk/edit?usp=sharing
bác xem dùm em cái code này . <?xml version="1.0" encoding="utf-8"?> <FrameLayout androidaddingLeft="@dimen/status_bar_recents_item_padding" androidaddingRight="@dimen/status_bar_recents_item_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <RelativeLayout android:layout_gravity="center_vertical" android:id="@id/recent_item" androidaddingTop="@*android:dimen/status_bar_height" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true"> <FrameLayout android:id="@id/app_thumbnail" android:background="#00000000" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15.0dip" android:layout_marginRight="15.0dip" android:foreground="#00000000" android:layout_centerInParent="true"> <ImageView android:id="@id/app_thumbnail_image" android:layout_width="137.0dip" android:layout_height="217.0dip" android:layout_marginTop="10.0dip" android:layout_marginBottom="20.0dip" /> </FrameLayout> <ImageView android:gravity="center_horizontal" android:id="@id/app_icon" android:layout_width="50.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="10.0dip" android:scaleType="centerInside" android:adjustViewBounds="true" android:maxWidth="35.0dip" android:maxHeight="35.0dip" android:layout_below="@id/app_thumbnail" /> <TextView android:textSize="@dimen/status_bar_recents_app_label_text_size" android:textColor="@color/status_bar_recents_app_label_color" android:ellipsize="marquee" android:gravity="center" android:id="@id/app_label" androidaddingTop="0.0dip" android:fadingEdge="none" android:fadingEdgeLength="0.0dip" android:layout_width="70.0dip" android:layout_height="fill_parent" android:scrollHorizontally="true" android:singleLine="true" android:layout_toRightOf="@id/app_icon" android:layout_below="@id/app_thumbnail" /> <TextView android:textSize="@dimen/status_bar_recents_app_description_text_size" android:ellipsize="marquee" android:id="@id/app_description" android:visibility="gone" android:fadingEdge="horizontal" android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="40.0dip" android:scrollHorizontally="true" android:singleLine="true" android:layout_below="@id/app_label" android:layout_alignParentBottom="true" /> </RelativeLayout> </FrameLayout> nó hiện thế này chỉnh chỗ nào cho icon với tên nó chuẩn đc hả bác làm cả trăm lần rùi vẫn ko đc Gửi từ IM-A830K của tôi bằng cách sử dụng Tapatalk
thiếu dòng này ngay dưới dòng thứ 7 bác à <View android:id="@id/recents_callout_line" android:background="@drawable/recents_callout_line" android:layout_width="@dimen/status_bar_recents_app_label_width" android:layout_height="1.0dip" android:layout_marginLeft="@dimen/status_bar_recents_app_label_left_margin" android:layout_marginTop="3.0dip" android:layout_marginRight="3.0dip" android:layout_toLeftOf="@id/app_thumbnail" android:layout_below="@id/app_label" android:layout_alignParentLeft="true" />