Layout Style Button State in Android Studio
Untuk dapat memodifikasi Textview ataupun Layout - seperti pada gambar diatas - yang memiliki fungsi layaknya Button kita cukup menambahkan sebuah library xml dimana nantinya akan digunakan sebagai background pada komponen itu sendiri. langsung saja kita Klik kanan app -> res -> drawable -> new -> Drawable Resource File
button_state.xml
xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
//background saat di click
<item android:state_pressed="true" >
<shape android:shape="rectangle">
<gradient
android:type="linear"
android:startColor="#E4E4E4"
android:endColor="#E4E4E4"
android:angle="45"/>
<solid android:color="@color/pressed_bg"/>
<corners
android:radius="30dp" />
<stroke
android:width="1dp"
android:color="@color/cardview_shadow_start_color" />
shape>
item>
//background default sebelum di click
<item>
<shape
android:shape="rectangle">
<gradient
android:startColor="#FFFFFF"
android:endColor="#FFFFFF"
android:angle="270" />
<solid android:color="@color/whiteTextColor"/>
<corners
android:radius="30dp"/>
<stroke
android:width="1dp"
android:color="#00B8D4" />
shape>
item>
selector>
Categories: Source Code
Aundrea
References: Payid pokies fast payout https://doc.thudep.com/_anhYwjwQj-Zw98KGFZm7A
Madelaine
References: Neosurf casino real money australia $5 minimum deposit casino neosurf australia
Florencia
References: Neosurf alternative payment methods casino https://intensedebate.com
Jessika
References: Neosurf voucher online casino https://king-bookmark.stream/
Iva
References: Progressive jackpot payid pokies https://topsitenet.com/profile/operahill4/2989864/
Elwood
References: Online pokies real money payid https://ancientroman.space/
Latia
PayID works through your existing online banking app. payid friendly casinos is a real-time payment service offered by most Australian banks. Before you confirm a payment, your bank also shows you the name of the account holder, which helps prevent money going to the wrong place. Instead of sharing your BSB and account number, you link a simple identifier, usually your mobile number or email address to your bank account.
Chanda
Ensure the casino is licensed, has a positive reputation, and offers a great selection of games. Select a casino from a trusted list (like ours!) that explicitly accepts cash out neosurf casino australia as a payment method. Vouchers come in various denominations, typically ranging from $10 to $100.
Tyrone
A BPAY deposit is submitted to a bank, sits in a queue, and clears on the bank’s schedule rather than the casino’s. Pokies are where the BPAY question actually gets tested. BPAY’s advantage is familiarity—most Australians already use it for bills, so there’s no new app to download or account to set up. Always verify australian online pokies bpay with the casino, as these can change without notice. It’s worth checking the bonus terms and conditions for any restricted payment option and to get to know the ins and outs of the bonus offer.
Ryan
These promotions have the power to attract new players as well as keep the existing ones happy. Among the most popular games that you can enjoy here are the PayID withdrawal pokies, table games, and live dealer games. Operators allow you to use PayID to apply for any available deposit bonus. The best PayID gambling sites come with a wide selection of casino bonuses and promotions. This payment method even lets you use multiple PayID accounts on different bank accounts.
Katherin
References: Payid online casino real money sciencemission.com
Lavada
References: Online casino payid https://onespotsocial.com
Eloisa
References: Payid friendly casinos https://topsitenet.com
Willa
References: Payid instant withdrawal pokies https://www.tianjinzhaopin.cn/home.php?mod=space&uid=1617838
Margarita
References: Best payid gambling sites earthwiki.space
Jetta
References: Depositos paypal sin comision casino sglpw.cn
Leia
References: Mejores juegos de casino paypal https://www.brainchips.liuyanze.com/?347996
Trena
References: Offshore payid casinos australia http://markdown.sakuragawa.moe/1e0kqJAfRoCaf4Xlo3bazQ
Florentina
References: Payid casino $20 deposit undrtone.com
Dwight
References: Payid deposit online casino pads.dgnum.eu
Julie
References: Best payid pokies http://viproskurnin.ru/index.php?subaction=userinfo&user=randomnoodle3
Hulda
References: $20 payid deposit casino australia https://pad.deckenpfronn.info/
Deb
References: Casinos that take payid http://markdown.sakuragawa.moe/2pTfmbDzT6yBESjBPWXsRg
Kandi
References: Ingresar en casino con bizum https://pad.batsense.net/cL38svFsQya3Ii0j3LeNrA
Christiane
References: $5 payid deposit casino australia https://graph.org
Amy
References: Payid casino login notes.ip2i.in2p3.fr
Marianne
References: Payid withdrawal casino http://09vodostok.ru/user/heliumfrost8/
Andra
References: Casino payid https://md.sigma2.no/fTcBYPoJTmer1y-BuwrikQ
Magda
References: Instant withdrawal casino payid https://dok.kompot.si/
Curt
References: Payid pokies australia https://bean-waller-2.hubstack.net/best-payid-pokies-australia-2026-top-casinos-list
Maricela
References: Vip payid casinos sciencemission.com
Margarita
References: Real money pokies payid pad.koeln.ccc.de
Deloras
References: Casinos that take payid https://myspace.com/masklead25
Jetta
References: Same day payout casino payid telegra.ph
Sunny
References: Mobile casino payid http://bbs.97wanwan.com/home.php?mod=space&uid=2073658
Lemuel
References: Online pokies payid ondashboard.win
Ceadefark
[url=https://fastpriligy.top/]can priligy cure pe[/url] The NZBWF1 model will be important in discerning the role of ET 1 in the impaired renal hemodynamics and hypertension that accompany SLE
Jewspaway
how to buy priligy in usa No nausea thank God, but have had increased hot flashes
Leave a comment