Hi i have made an android program in that i have put a single nine path button for all the activities but i have applied one style for it but for other activities different styles for margin are needed...So. i have my one style as per below:So can i put another style for same element in same style.xml file? my code is as below:
<style name="button"> <item name="android:layout_width">fill_parent</item> <item name="android:layout_height">wrap_content</item> <item name="android:layout_marginLeft">30dp</item> <item name="android:layout_marginRight">30dp</item> <item name="android:layout_weight">1</item> <item name="android:tag">200</item> <item name="android:padding">7dp</item> <item name="android:textSize">15dp</item> <item name="android:textColor">#f5f0eb</item> </style> Source: http://stackoverflow.com/questions/17647485/how-to-apply-multiple-styles-in-android-in-same-xml
mario manningham mario manningham williams syndrome hoya casa de mi padre corned beef and cabbage diners drive ins and dives
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন