Prepare Drawables and Menus

7 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$15
List Price:  $69.99
You save:  $54.99
€14.40
List Price:  €67.23
You save:  €52.82
£11.74
List Price:  £54.79
You save:  £43.05
CA$21.49
List Price:  CA$100.29
You save:  CA$78.79
A$24.02
List Price:  A$112.09
You save:  A$88.06
S$20.25
List Price:  S$94.52
You save:  S$74.26
HK$116.56
List Price:  HK$543.88
You save:  HK$427.31
CHF 13.27
List Price:  CHF 61.94
You save:  CHF 48.66
NOK kr169.03
List Price:  NOK kr788.73
You save:  NOK kr619.69
DKK kr107.59
List Price:  DKK kr502.03
You save:  DKK kr394.44
NZ$26.53
List Price:  NZ$123.81
You save:  NZ$97.27
د.إ55.09
List Price:  د.إ257.07
You save:  د.إ201.97
৳1,789.65
List Price:  ৳8,350.53
You save:  ৳6,560.87
₹1,280.96
List Price:  ₹5,977
You save:  ₹4,696.03
RM67.30
List Price:  RM314.04
You save:  RM246.74
₦23,183.99
List Price:  ₦108,176.53
You save:  ₦84,992.53
₨4,169.33
List Price:  ₨19,454.09
You save:  ₨15,284.76
฿512.55
List Price:  ฿2,391.55
You save:  ฿1,879
₺527.92
List Price:  ₺2,463.31
You save:  ₺1,935.38
B$95.64
List Price:  B$446.27
You save:  B$350.63
R281.25
List Price:  R1,312.34
You save:  R1,031.08
Лв28.20
List Price:  Лв131.59
You save:  Лв103.39
₩21,858.89
List Price:  ₩101,993.60
You save:  ₩80,134.70
₪54.74
List Price:  ₪255.42
You save:  ₪200.68
₱879.90
List Price:  ₱4,105.61
You save:  ₱3,225.71
¥2,357.62
List Price:  ¥11,000.67
You save:  ¥8,643.05
MX$302.46
List Price:  MX$1,411.29
You save:  MX$1,108.82
QR54.46
List Price:  QR254.14
You save:  QR199.67
P207.99
List Price:  P970.50
You save:  P762.51
KSh1,935.60
List Price:  KSh9,031.50
You save:  KSh7,095.90
E£762.51
List Price:  E£3,557.88
You save:  E£2,795.37
ብር1,906.82
List Price:  ብር8,897.26
You save:  ብር6,990.43
Kz13,680
List Price:  Kz63,830.88
You save:  Kz50,150.88
CLP$14,839.35
List Price:  CLP$69,240.40
You save:  CLP$54,401.05
CN¥109.48
List Price:  CN¥510.85
You save:  CN¥401.37
RD$912.26
List Price:  RD$4,256.60
You save:  RD$3,344.34
DA2,026.51
List Price:  DA9,455.74
You save:  DA7,429.22
FJ$34.77
List Price:  FJ$162.28
You save:  FJ$127.50
Q115.35
List Price:  Q538.26
You save:  Q422.90
GY$3,133.26
List Price:  GY$14,619.81
You save:  GY$11,486.55
ISK kr2,093.25
List Price:  ISK kr9,767.10
You save:  ISK kr7,673.85
DH151.02
List Price:  DH704.68
You save:  DH553.66
L276.31
List Price:  L1,289.28
You save:  L1,012.96
ден886.39
List Price:  ден4,135.94
You save:  ден3,249.54
MOP$119.80
List Price:  MOP$559.01
You save:  MOP$439.21
N$278.46
List Price:  N$1,299.34
You save:  N$1,020.87
C$551.07
List Price:  C$2,571.30
You save:  C$2,020.23
रु2,039.66
List Price:  रु9,517.06
You save:  रु7,477.40
S/55.76
List Price:  S/260.20
You save:  S/204.44
K60.78
List Price:  K283.61
You save:  K222.83
SAR56.32
List Price:  SAR262.82
You save:  SAR206.49
ZK414.46
List Price:  ZK1,933.89
You save:  ZK1,519.42
L71.76
List Price:  L334.85
You save:  L263.08
Kč362.72
List Price:  Kč1,692.49
You save:  Kč1,329.76
Ft5,922.40
List Price:  Ft27,633.93
You save:  Ft21,711.52
SEK kr163.23
List Price:  SEK kr761.65
You save:  SEK kr598.41
ARS$15,406.31
List Price:  ARS$71,885.87
You save:  ARS$56,479.55
Bs103.48
List Price:  Bs482.86
You save:  Bs379.38
COP$66,192.11
List Price:  COP$308,852.42
You save:  COP$242,660.30
₡7,604.09
List Price:  ₡35,480.70
You save:  ₡27,876.60
L380.50
List Price:  L1,775.44
You save:  L1,394.93
₲116,798.31
List Price:  ₲544,980.94
You save:  ₲428,182.62
$U666.61
List Price:  $U3,110.44
You save:  $U2,443.82
zł61.41
List Price:  zł286.56
You save:  zł225.15
Already have an account? Log In

Transcript

Nervous any project you will be needing to use some images, some static images, of course in your project. Okay. So what I've done in my case is that I've added several images later. Some of them I release some of them actually one is okay, so we have several images, Reacher and these are just static images so you can add as many images as you want. Okay. Now, if you don't already projected them, you can just go ahead and delete some of these images and still be able to search for them and then delete them.

Okay. So basically, these are images, okay, what you need to do is that you need to add these images feature. And then we also have these two XML files which are going to be very important. These are trouble first, of course selector section. This is the toggle button for RSI. And of course this is going to be included in the Drobo.

Then you also go to the theme color feature where we're going to add our current primary. So basically these are very important feature. We're going to add them alongside our static images as you guys can see, okay, so we add them in October's Yeah. So basically what we'll do is add your images, the images, the use of casino project feature, but also make sure that these two files then select section to group because this will confuse you to notice a problem as well as the thing color Okay, so I've temperature and that's it. Those are our Global's. Let's come over to our menu.

So if we don't have our menu folder writer, or we need to these two come and then credit Okay, click on new direct So, directory, choose it, and then come call it menu. Then of course, once we've done that, we're going to add our menu first. Now we're going to start to the bottom navigation main. Now, of course, this is going to present the bottom menu, this bottom tabs to have dinner. You can see we have three action home action orders, and action exit. Now, if we come over to the code, he can see Rachel Okay, of course, your menu has to start with this particular element, that element, then of course, its children will be this particular menu items.

So I turn for example, then action home, then in about two and then home, and then it's going to be shown if this home of course, we have pursued the arcade. So basically, if you click the home, this is going to be the main, the main of view and then we have the cave which is To list of course, our or our data, okay, then exit when clicked will exit application. So this, this is it. This is the book on keshawn main detects and then once you've done that, we're going to move over to our next please add a new XML file. Okay, go to new then menu resourceful or you can alternatively just add an empty XML file, then paste the following code. Okay, of course, it has to start with the menu, then this is going to have of course, one item.

So this detail page menu This is going to be rendered, of course in our Detail page detail pages that activity which is going to show our dairy that it has for our dairy. So we're going to have this menu item which when clicked will open for us they delete pitch up the pitch. So this is it. And then, of course Detail page menu, so please add it, then of course, you're going to go to the diary's pitch menu, or there is page of course, our main pitch. Now, of course, this shouldn't be too challenging is our course. It should be the database activity.

Okay, so here we have our database, page menu, of course, you can see the items that you have, we have the ADD, we have the refresh, and then you have this switch view. So these are going to be, of course, our three menu items. And this of course, is going to be shown, of course, in our database activity. There is activities that activity which was listing, of course, our database, and then allowing us to filter them based on bits. Okay, so this is it. These are going to be online.

Anytime, so that is pitch menu. Then of course, go add a new XML file, of course, call it edit item menu. So edit item menu, basically, this menu file, this is going to be fretted, of course in our cloud activity for the sake of editing, okay, so remember, of course, our buttons for adding, editing, deleting, we're going to render them in our toolbar. So, for example, this particular edit item menu, this is going to be, of course, inflated and print it not true, but if you open up productivity for the sake of anything, so you can see for example, once you've edited, then you can click Save to save. You can also click Delete, if you want to delete and if you click Undo or then of course, it will redirect us of course, to the there is activity. So this edit item menu, basically is going to be If you cannot conductivity for the sequel editing, or updating, of course, our database.

Lastly, we have the new item menu. So what is thrown, of course, as you can imagine its role is to allow us to insert, of course into our SQL a database feature. So of course, you can see we have two items the same as well as they are now, seven in this case, of course, is still the traitor, but you can see the ID is in submenu item. So this particular menu will be inflated, of course, if you open up productivity for the sake of adding a new diary, okay, so you want to add a new diary and look and productivity, then this is the menu that is going to be of course inflated and printed in October. It allows of questions such as who can also view her Of course to take us to the next Is activity so this is it case is it.

These are our menu resources. Make sure you add them. Of course before we move to our Java code later on, let's proceed.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.