• ¡Welcome to Square Theme!
  • This news are in header template.
  • Please ignore this message.
مهمان عزیز خوش‌آمدید. ورود عضــویت


امتیاز موضوع:
  • 9 رای - 2.56 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
Title: CustomNotification
حالت خطی
#2
اینکارم قبلش انحام دادید؟
1. The Layout of the Notification
This is defined in an xml layout file. Create your layout, name it to "cm.xml" and copy it to your projects Objects/res/Layout folder. Mark it as read-only. See XML Resources for further information.
Make sure you give an id to each view in the xml, because in order to set these views we will use the same id.Code:



کد:
<TextView android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />


If you have trouble with the xml file (like I did), do Clean Project. Make the xml file in utf-8. warwound used dreamweaver for mine.

 
گروه دور همی پارسی کدرز
https://t.me/joinchat/GxVRww3ykLynHFsdCvb7eg
 
پاسخ
  


پیام‌های این موضوع
CustomNotification - توسط Farzin-PC - 04-20-2014، 12:36 AM
RE: CustomNotification - توسط Amin_Mansouri - 04-20-2014، 03:04 PM
RE: CustomNotification - توسط Farzin-PC - 04-20-2014، 09:38 PM
RE: CustomNotification - توسط Amin_Mansouri - 04-21-2014، 07:16 AM
RE: CustomNotification - توسط Farzin-PC - 04-24-2014، 11:34 PM
RE: CustomNotification - توسط Farzin-PC - 05-08-2014، 12:45 AM

پرش به انجمن:


Browsing: 1 مهمان