Add 320x320 theme and split out watch.xml for square watch layout
Change-Id: I7fe38b20913a981942105637a527a2d26ed035a5
diff --git a/gui/Android.mk b/gui/Android.mk
index 2acbc92..b172b2b 100644
--- a/gui/Android.mk
+++ b/gui/Android.mk
@@ -98,11 +98,14 @@
ifeq ($(TW_CUSTOM_THEME),)
PORTRAIT := 320x480 480x800 480x854 540x960 720x1280 800x1280 1080x1920 1200x1920 1440x2560 1600x2560
LANDSCAPE := 800x480 1024x600 1024x768 1280x800 1920x1200 2560x1600
+ WATCH := 240x240 280x280 320x320
TWRP_THEME_LOC := $(commands_recovery_local_path)/gui/devices/$(DEVICE_RESOLUTION)/res
ifneq ($(filter $(DEVICE_RESOLUTION), $(PORTRAIT)),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/portrait/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/
else ifneq ($(filter $(DEVICE_RESOLUTION), $(LANDSCAPE)),)
TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/landscape/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/
+ else ifneq ($(filter $(DEVICE_RESOLUTION), $(WATCH)),)
+ TWRP_COMMON_XML := cp -fr $(commands_recovery_local_path)/gui/devices/watch/res/* $(TARGET_RECOVERY_ROOT_OUT)/res/
endif
else
TWRP_THEME_LOC := $(TW_CUSTOM_THEME)