diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/main_view/fragments/RemoteFragment.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteFragment.kt similarity index 94% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/main_view/fragments/RemoteFragment.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteFragment.kt index 625ed19..ee16564 100644 --- a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/main_view/fragments/RemoteFragment.kt +++ b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteFragment.kt @@ -11,7 +11,7 @@ import androidx.databinding.DataBindingUtil import com.ms8.smartirhub.android.R import com.ms8.smartirhub.android.create_button.CBWalkThroughActivity import com.ms8.smartirhub.android.create_button.CBWalkThroughActivity.Companion.REQ_NEW_BUTTON -import com.ms8.smartirhub.android.remote_control.views.RemoteLayout +import com.ms8.smartirhub.android.remote_control.views._OLD_RemoteLayout import com.ms8.smartirhub.android.databinding.FRemoteCurrentBinding class RemoteFragment : MainFragment() { @@ -24,7 +24,7 @@ class RemoteFragment : MainFragment() { Callbacks ---------------------------------------------- */ - private val remoteLayoutCallback = object : RemoteLayout.RemoteLayoutButtonCallback { + private val remoteLayoutCallback = object : _OLD_RemoteLayout.RemoteLayoutButtonCallback { override fun createNewButton() { if (!waitingForCreateButtonActivity) { waitingForCreateButtonActivity = true diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/RemoteLayoutFromLibrary.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteLayout.kt similarity index 62% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/RemoteLayoutFromLibrary.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteLayout.kt index 543f401..03fbe69 100644 --- a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/RemoteLayoutFromLibrary.kt +++ b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/RemoteLayout.kt @@ -15,12 +15,17 @@ import com.ms8.smartirhub.android._tests.dev_playground.remote_layout.asymmetric import com.ms8.smartirhub.android._tests.dev_playground.remote_layout.asymmetricgridview.AsymmetricItem import com.ms8.smartirhub.android._tests.dev_playground.remote_layout.asymmetricgridview.AsymmetricRecyclerView import com.ms8.smartirhub.android._tests.dev_playground.remote_layout.asymmetricgridview.AsymmetricRecyclerViewAdapter -import com.ms8.smartirhub.android._tests.dev_playground.remote_layout.asymmetricgridview_k.Utils +import com.ms8.smartirhub.android.remote_control.views.asymmetric_gridview.Utils import com.ms8.smartirhub.android.database.TempData import com.ms8.smartirhub.android.remote_control.models.RemoteProfile import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_ADD +import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_RADIAL_DOWN +import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_RADIAL_LEFT +import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_RADIAL_RIGHT +import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_RADIAL_UP import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.IMG_SUBTRACT import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.STYLE_BTN_INCREMENTER_VERTICAL +import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.STYLE_BTN_RADIAL_W_CENTER import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Companion.STYLE_BTN_SINGLE_ACTION import com.ms8.smartirhub.android.remote_control.models.RemoteProfile.Button.Properties.BgStyle import com.ms8.smartirhub.android.remote_control.views.ButtonView @@ -61,7 +66,7 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric name = "VOL" } - 7 -> { + 4 -> { rowSpan = 2 style = STYLE_BTN_INCREMENTER_VERTICAL properties[0].bgStyle = BgStyle.BG_ROUND_RECT_TOP @@ -83,6 +88,61 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric name = "CH" } + 3 -> { + rowSpan = 2 + columnSpan = 2 + style = STYLE_BTN_RADIAL_W_CENTER + + // add topButton Properties + properties[0].bgStyle = BgStyle.BG_NONE + properties[0].marginTop = 16 + properties[0].marginStart = 0 + properties[0].marginEnd = 0 + properties[0].marginBottom = 0 + properties[0].image = IMG_RADIAL_UP + + // add endButton Properties + properties.add(RemoteProfile.Button.Properties() + .apply { + bgStyle = BgStyle.BG_NONE + marginTop = 0 + marginStart = 0 + marginEnd = 16 + marginBottom = 0 + image = IMG_RADIAL_RIGHT + }) + // add bottomButton Properties + properties.add(RemoteProfile.Button.Properties() + .apply { + bgStyle = BgStyle.BG_NONE + marginTop = 0 + marginStart = 0 + marginEnd = 0 + marginBottom = 16 + image = IMG_RADIAL_DOWN + }) + // add startButton Properties + properties.add(RemoteProfile.Button.Properties() + .apply { + bgStyle = BgStyle.BG_NONE + marginTop = 0 + marginStart = 16 + marginEnd = 0 + marginBottom = 0 + image = IMG_RADIAL_LEFT + }) + // add centerButton Properties + properties.add(RemoteProfile.Button.Properties() + .apply { + bgStyle = BgStyle.BG_CIRCLE + marginTop = 0 + marginStart = 0 + marginEnd = 0 + marginBottom = 0 + }) + + name = "OK" + } } }) } @@ -119,7 +179,6 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric TempData.tempRemoteProfile.buttons.size override fun onBindViewHolder(holder: RemoteLayoutFromLibraryViewHolder, position: Int) { - Log.d("TEST", "Binding ${TempData.tempRemoteProfile.buttons[position]?.name}") holder.bind(position) } } @@ -128,6 +187,8 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric when (viewType) { STYLE_BTN_SINGLE_ACTION -> LayoutInflater.from(parent.context).inflate(R.layout.v_rmt_btn_base, parent, false) STYLE_BTN_INCREMENTER_VERTICAL -> LayoutInflater.from(parent.context).inflate(R.layout.v_rmt_btn_inc_vert, parent, false) + STYLE_BTN_RADIAL_W_CENTER -> LayoutInflater.from(parent.context).inflate(R.layout.v_rmt_radial_w_center_btn, parent, false) + else -> LayoutInflater.from(parent.context).inflate(R.layout.v_rmt_btn_base, parent, false) } ) { @@ -141,6 +202,7 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric when (b.style) { STYLE_BTN_SINGLE_ACTION -> bindSingleActionButton(b) STYLE_BTN_INCREMENTER_VERTICAL -> bindIncrementerButton(b) + STYLE_BTN_RADIAL_W_CENTER -> bindRadialWithCenterButton(b) else -> bindSingleActionButton(b) } // buttonView.properties = b.properties @@ -154,6 +216,37 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric } } + private fun bindRadialWithCenterButton(button: RemoteProfile.Button) { + val topButtonView = itemView.findViewById(R.id.btnTop) + val bottomButtonView = itemView.findViewById(R.id.btnBottom) + val startButtonView = itemView.findViewById(R.id.btnStart) + val endButtonView = itemView.findViewById(R.id.btnEnd) + val centerButtonView = itemView.findViewById(R.id.btnCenter) + + // set top button properties + topButtonView.properties = button.properties[0] + //todo replace with proper onClick + topButtonView.setOnClickListener { Log.d("TEST", "TOP BUTTON CLICKED") } + // set bottom button properties + endButtonView.properties = button.properties[1] + //todo replace with proper onClick + endButtonView.setOnClickListener { Log.d("TEST", "END BUTTON CLICKED") } + // set start button properties + bottomButtonView.properties = button.properties[2] + //todo replace with proper onClick + bottomButtonView.setOnClickListener { Log.d("TEST", "BOTTOM BUTTON CLICKED") } + // set end button properties + startButtonView.properties = button.properties[3] + //todo replace with proper onClick + startButtonView.setOnClickListener { Log.d("TEST", "START BUTTON CLICKED") } + // set center button properties + centerButtonView.properties = button.properties[4] + // set center button text + centerButtonView.buttonText = button.name + //todo replace with proper onClick + centerButtonView.setOnClickListener { Log.d("TEST", "CENTER BUTTON CLICKED") } + } + private fun bindIncrementerButton(button: RemoteProfile.Button) { val topButtonView = itemView.findViewById(R.id.btnTop) val bottomButtonView = itemView.findViewById(R.id.btnBottom) @@ -161,9 +254,11 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric // set top button properties topButtonView.properties = button.properties[0] + //todo replace with proper onClick topButtonView.setOnClickListener { Log.d("TEST", "TOP BUTTON CLICKED") } // set bottom button properties bottomButtonView.properties = button.properties[1] + //todo replace with proper onClick bottomButtonView.setOnClickListener { Log.d("TEST", "BOTTOM BUTTON CLICKED") } // set middle textView text buttonText.text = button.name @@ -178,6 +273,8 @@ class RemoteLayoutFromLibrary(context: Context, attrs: AttributeSet): Asymmetric buttonView.properties = button.properties[0] // set button text buttonView.buttonText = button.name + //todo replace with proper onClick + buttonView.setOnClickListener { Log.d("TEST", "BUTTON CLICKED") } } } diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/RemoteLayout.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/_OLD_RemoteLayout.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/RemoteLayout.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/_OLD_RemoteLayout.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AGVBaseAdapter.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AGVBaseAdapter.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AGVBaseAdapter.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AGVBaseAdapter.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AGVRecyclerViewAdapter.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AGVRecyclerViewAdapter.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AGVRecyclerViewAdapter.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AGVRecyclerViewAdapter.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AdapterImpl.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AdapterImpl.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AdapterImpl.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AdapterImpl.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmerticGridView.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmerticGridView.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmerticGridView.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmerticGridView.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricGridViewAdapter.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricGridViewAdapter.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricGridViewAdapter.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricGridViewAdapter.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricItem.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricItem.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricItem.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricItem.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricRecyclerView.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricRecyclerView.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricRecyclerView.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricRecyclerView.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricRecyclerViewAdapter.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricRecyclerViewAdapter.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricRecyclerViewAdapter.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricRecyclerViewAdapter.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricView.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricView.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricView.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricView.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricViewHolder.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricViewHolder.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricViewHolder.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricViewHolder.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricViewImpl.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricViewImpl.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/AsymmetricViewImpl.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/AsymmetricViewImpl.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/LinearLayoutPoolObjectFactory.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/LinearLayoutPoolObjectFactory.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/LinearLayoutPoolObjectFactory.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/LinearLayoutPoolObjectFactory.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/ObjectPool.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/ObjectPool.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/ObjectPool.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/ObjectPool.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/PoolObjectFactory.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/PoolObjectFactory.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/PoolObjectFactory.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/PoolObjectFactory.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/RowInfo.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/RowInfo.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/RowInfo.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/RowInfo.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/RowItem.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/RowItem.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/RowItem.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/RowItem.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/SpacesItemDecoration.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/SpacesItemDecoration.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/SpacesItemDecoration.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/SpacesItemDecoration.kt diff --git a/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/Utils.kt b/android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/Utils.kt similarity index 100% rename from android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/_tests/dev_playground/remote_layout/asymmetricgridview_k/Utils.kt rename to android/SmartIRHub/app/src/main/java/com/ms8/smartirhub/android/remote_control/views/asymmetric_gridview/Utils.kt diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_radial_bottom.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_bottom.xml similarity index 100% rename from android/SmartIRHub/app/src/main/res/drawable/btn_radial_bottom.xml rename to android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_bottom.xml diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_bottom_ripple.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_bottom_ripple.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_bottom_ripple.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_radial_end.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_end.xml similarity index 100% rename from android/SmartIRHub/app/src/main/res/drawable/btn_radial_end.xml rename to android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_end.xml diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_end_ripple.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_end_ripple.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_end_ripple.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_radial_start.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_start.xml similarity index 100% rename from android/SmartIRHub/app/src/main/res/drawable/btn_radial_start.xml rename to android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_start.xml diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_start_ripple.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_start_ripple.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_start_ripple.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_radial_top.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_top.xml similarity index 100% rename from android/SmartIRHub/app/src/main/res/drawable/btn_radial_top.xml rename to android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_top.xml diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_top_ripple.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_top_ripple.xml new file mode 100644 index 0000000..a8b409b --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_bg_radial_top_ripple.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_template_circle.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_template_circle.xml new file mode 100644 index 0000000..bc79e0d --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_template_circle.xml @@ -0,0 +1,5 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_template_incrementer.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_template_incrementer.xml new file mode 100644 index 0000000..0a27373 --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_template_incrementer.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/btn_template_radial.xml b/android/SmartIRHub/app/src/main/res/drawable/btn_template_radial.xml new file mode 100644 index 0000000..db5889b --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/btn_template_radial.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_device_hub_white_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_device_hub_white_24dp.xml new file mode 100644 index 0000000..77ab0eb --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_device_hub_white_24dp.xml @@ -0,0 +1,5 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_down_black_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_down_black_24dp.xml new file mode 100644 index 0000000..ad33063 --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_down_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_left_black_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_left_black_24dp.xml new file mode 100644 index 0000000..c9f7747 --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_left_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_right_black_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_right_black_24dp.xml new file mode 100644 index 0000000..a3d1622 --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_right_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_up_black_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_up_black_24dp.xml new file mode 100644 index 0000000..57387ee --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_keyboard_arrow_up_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_mode_edit_black_24dp.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_mode_edit_black_24dp.xml new file mode 100644 index 0000000..2ab2fb7 --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_mode_edit_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/android/SmartIRHub/app/src/main/res/drawable/ic_my_remotes_icon.xml b/android/SmartIRHub/app/src/main/res/drawable/ic_my_remotes_icon.xml new file mode 100644 index 0000000..d5e372f --- /dev/null +++ b/android/SmartIRHub/app/src/main/res/drawable/ic_my_remotes_icon.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + +