การลงสีแบบไล่โทนสี
DESCRIPTION
การลงสีแบบไล่โทนสี. ง 30217 การเขียนโปรแกรมบนระบบไร้สาย. การไล่โทนสี. 1. กำหนดในขณะออกแบบ 2. เขียนคำสั่ง JAVA สั่งให้ลงสีแบบ Gradient. กำหนดในขณะออกแบบ. ไปที่ esdrawable-dhpi คลิ๊กขวาที่ drawable-dhpi แล้วเลือก new->other. กำหนดในขณะออกแบบ. กำหนดในขณะออกแบบ.
1 / 11
Télécharger la présentation
การลงสีแบบไล่โทนสี
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.
Content is provided to you AS IS for your information and personal use only.
Download presentation by click this link.
While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
During download, if you can't get a presentation, the file might be deleted by the publisher.
E N D
Presentation Transcript
การลงสีแบบไล่โทนสี ง30217 การเขียนโปรแกรมบนระบบไร้สาย
การไล่โทนสี • 1. กำหนดในขณะออกแบบ • 2. เขียนคำสั่ง JAVA สั่งให้ลงสีแบบ Gradient
กำหนดในขณะออกแบบ • ไปที่ \res\drawable-dhpi • คลิ๊กขวาที่ drawable-dhpi แล้วเลือก new->other
เขียนคำสั่งในไฟล์ bggradient.xml
กำหนดสี • หากต้องการไล่สีให้กำหนดที่ปุ่ม …
กำหนดสี • หากต้องการไล่สีให้คลิ๊กขวาที่พื้นหลังแล้วเลือก • Edit background … • ไปที่ drawable -> ชื่อไฟล์ xml • ในที่นี้คือ drawable->bggradient.xml
More Related