Я пытаюсь вставить небольшую строку между двумя кнопками, как показано ниже:
However, when I inserted a line, I have two problems: (1) the line fills the entire page and (2) the line disappears when I add elevation=10dp
. Somehow, the line does not reduce its size even if I put alignTop=NIV
and alignBottom=NIV
.
How can I fix these problems?
Just in case you find it useful, my XML file is here:
<?xml version="1.0" encoding="utf-8"?>