यहां बहुत ही अनोखी समस्या है, बस पृष्ठभूमि छवि संपत्ति गैलेक्सी नेक्सस को छोड़कर सभी फोन पर ठीक दिखाई देगी (या मुझे अब तक मिल गया है)गैलेक्सी नेक्सस (केवल) पर कोई पृष्ठभूमि छवि प्रदर्शित नहीं की जा रही है?
कई अलग-अलग फोनों में ऐप की गैलरी के नीचे खोजें, लेकिन छवि में नोट करें संख्या एसईएक्स नेक्सस में पृष्ठभूमि नहीं है?
मैंने सभी घनत्व और बड़े + एक्सएल स्क्रीन आकारों के लिए समर्थन निर्धारित किया है, मैं एक लेआउट का एक्सएमएल पोस्ट करूंगा, हालांकि यह सभी लेआउट में फैलता है, चाहे उसके पास कोई नियंत्रण/रैखिक लेआउट या अन्य कुछ हो।
चित्र: http://goo.gl/59c8C
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" android:background="@drawable/app_bg">
<ScrollView
android:id="@+id/scrollView12"
android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:fillViewport="true">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" android:layout_alignParentBottom="true">
<com.quickcontact.CustomTextView
android:id="@+id/CustomTextView01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:gravity="center"
android:text="Tap the buttons below to create your contact profiles. You will be able to assign contact details to each of your profiles and share them with others."
android:textColor="#3f3f3f"
android:textSize="15sp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_gravity="center_horizontal"/>
<com.quickcontact.CustomTextView
android:id="@+id/receiveHeadertxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:text="-- Create Profile --"
android:textColor="#3f3f3f"
android:textSize="15sp" android:layout_gravity="center_horizontal"/>
<com.quickcontact.CustomButton
android:id="@+id/butPersonal"
android:layout_width="match_parent"
android:layout_height="78dp"
android:background="@drawable/standard_button"
android:padding="1dp"
android:text="Personal"
android:textColor="#3f3f3f"
android:textSize="16sp" />
<com.quickcontact.CustomButton
android:id="@+id/butSocial"
android:layout_width="match_parent"
android:layout_height="78dp"
android:layout_marginTop="5dp"
android:background="@drawable/standard_button"
android:padding="1dp"
android:text="Social"
android:textColor="#3f3f3f"
android:textSize="16sp" />
<com.quickcontact.CustomButton
android:id="@+id/butBusiness"
android:layout_width="match_parent"
android:layout_height="78dp"
android:layout_marginTop="5dp"
android:background="@drawable/standard_button"
android:padding="1dp"
android:text="Business"
android:textColor="#3f3f3f"
android:textSize="16sp" android:layout_marginBottom="20dp"/>
<com.quickcontact.CustomButton
android:id="@+id/butNext"
android:layout_width="fill_parent"
android:layout_height="58dp"
android:background="@drawable/blue_button"
android:gravity="center_vertical|center_horizontal"
android:paddingBottom="1dp"
android:text="NEXT"
android:textColor="#3f3f3f"
android:textSize="16sp" />
</LinearLayout>
</RelativeLayout>
</ScrollView>
</RelativeLayout>
लवली नौकरी! :) धन्यवाद – Broak
मुझे पता है कि यह वास्तव में एक पुराना सवाल है। वैसे भी, समस्या अभी भी है ... यह एक महान कामकाज है। आपके द्वारा प्रदान किया जाने वाला समाधान पूरी तरह से काम करता है। मेरे मामले में, मेरे पास एक जटिल ढाल (बहु-दिशात्मक, आदि ...) है, इसलिए मेरे लिए एक तस्वीर का उपयोग करना मेरे लिए बहुत आसान होगा ... इसलिए, मुझे नहीं पता कि समस्या कहां आती है। मेरे संसाधन xhdpi फ़ोल्डर में हैं ... क्या आपके पास कुछ अन्य सुराग हैं? – mithrop
मुझे सैमसंग नेक्सस पर भी कुछ समस्याएं आ रही हैं और मेरे कुछ रिलेवेटिवआउट्स के लिए मैं पृष्ठभूमि छवियों को देखने में सक्षम नहीं हूं, मेरी पृष्ठभूमि छवि खींचने योग्य फ़ोल्डर में है। मैंने एक्सएमएल आकार के साथ कोशिश की है जैसा उत्तर में दिया गया है, यह आकार के साथ काम करता है लेकिन छवि के साथ पृष्ठभूमि के साथ नहीं, कृपया मुझे बताएं कि किसी के लिए इसे ठीक करने के लिए क्या मिला है। – User7723337