Commit Graph

7 Commits

Author SHA1 Message Date
tmfang
4eaefcdc1d Fine tune app entites measurement
Test: visual
Fixes: 129434266
Change-Id: Ib77829be392e3bc77ce61f7e1e390e190df4a998
2019-03-29 14:24:27 +08:00
tmfang
283b960057 Change font style for app entities widget
Test: visual
Fixes: 128843069
Change-Id: I51733364f37679beae82e7d595aeb66e03b6204e
2019-03-20 13:34:17 +08:00
tmfang
b719a7d7e3 Create an interface to set details text
For some cases, we still need a way to set text directly.

Test: robotest
Bug: 123538183
Change-Id: I5926730fcc2ba6382ee42c36ce398d6c930650f3
2019-02-22 12:06:11 +08:00
tmfang
e99ca519a4 Fine tune background shape for app entity
We should have a consistent UI style for widget.
When user clicks app entity, the background shape
should be rounded corner.

Change-Id: Icd64af95c007b99e5efbacf7ac3c8bcdf007b701
Fixes: 123979870
Test: visual
2019-02-06 23:10:29 +08:00
tmfang
7a91a0d03b Add an empty text when there is no app view.
This widget only shows title and empty text
when there is no any app view shown.

Test: visual, robotest
Bug: 120873123
Change-Id: I2079c1e47de5b7fb2d4ea4740dfba4809375c7c1
2019-01-21 18:05:18 +08:00
tmfang
00a97b4c00 Allow each AppEntity to handle click events individually.
- Add a listener for each app entity view. So, they
can handle click events individually.

- Since the parameters of setAppEntity are increasing,
I create a builder class which save some information of
app entity.

- Clean up AppEntitiesHeaderController.

Test: visual, robotest
Bug: 121271387
Change-Id: I781773d566a87a30271b0d5b2dfc9fc1bd6b225e
2019-01-17 14:13:15 +08:00
tmfang
7bdcf69dea Create an AppEntitiesHeader widget
- Create a library named EntityHeaderWidgets, it can contains
  other entity header wdigets in the future.
- Create a controller of AppEntitiesHeader,
  then user can initialize its view easily.

Test: visual, robotest
Change-Id: If11b3eba75334f66b72472b2139e0e7d93984dce
Fixes: 117621156
2018-12-11 17:04:56 +08:00