के लिए मान प्राप्त करें/सेट करें मेरे पास XML में मूल दृश्य है।गतिशील दृश्य बनाना, एकाधिक बार X बार देखें, प्रत्येक समूह
<RelativeLayout android:id="@+id/RelativeLayout01" android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content"><TextView android:layout_height="wrap_content" android:layout_width="fill_parent" android:text="Family" android:id="@+id/Family" android:textSize="16px" android:padding="5px" android:textStyle="bold" android:gravity="center_horizontal"></TextView>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/Family" android:layout_alignRight="@+id/Family" android:text="@string/context_notion_level_off" android:id="@+id/ContextNotionLevel"></TextView>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/Detailed" android:layout_below="@+id/Family" android:layout_alignLeft="@+id/Family" android:textStyle="bold" android:id="@+id/Module" android:text="Location"></TextView>
<SeekBar android:layout_height="wrap_content" android:id="@+id/SeekBar01" android:layout_width="fill_parent" android:padding="5px" android:saveEnabled="true" android:layout_below="@+id/Module" android:max="2"></SeekBar>
</RelativeLayout>
मैं अनुभाग X बार के तहत कैसे दोहरा सकते हैं, यहाँ की तरह लग रहे करने के लिए:
http://img687.imageshack.us/img687/4674/contextnotionleveldraft.png http://img687.imageshack.us/img687/4674/contextnotionleveldraft.png
फिर, कैसे मैं सभी मदों के लिए seekbar उपयोग कर सकते हैं?
कृपया ध्यान दें कि मैं इसे काम करने के लिए गतिशील होना चाहता हूं उदाहरण के लिए: 15 बार।
नाम (स्थान), सेट मान (तलाशबार मान), और प्रत्येक समूह के लिए मूल्य पुनर्प्राप्त करने में सक्षम कैसे होगा।
जहां/कैसे मैं एक scrollview जोड़ सकते हैं जब वहाँ पर दिखाने के लिए भी कई हैं स्क्रीन? – Pentium10
आपने mymain.xml – ccheneson
से लाइनरलायआउट के चारों ओर स्क्रॉलव्यू डाला है, मुझे लगता है कि xmlns: scrollroid के लिए एंड्रॉइड (धन्यवाद) – Pentium10